package com.cqjtu.drive.service;

import com.cqjtu.drive.pojo.Course;
import com.cqjtu.drive.response.Response;

import java.util.List;

public interface CourseService {

    Response<Course> getCourseById(String courseId);

    Response<String> insertCourse(Course course);

    Response<String> updateCourse(Course course);

    Response<String> deleteCourse(String courseId);

    Response<List<Course>> getAllCourses();
    Response<List<Course>> getCoursesByname(String coName);

    Response<List<Course>> getBycId(String cId);
}
